package com.payment.merchant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import com.payment.common.domain.BaseEntity;
 /**
 * 类名：RpOnlineMerchant.java <br>
 * 描述：<br>
 * 创建者：XINJF<br>
 * 创建日期：<br>
 * 版本：1.0<br>
 * 修改者：<br>
 * 修改日期：<br>
 */
public class RpOnlineMerchant extends BaseEntity {
	private Long id;//ID
	private Short version;//VERSION版本号
	private java.util.Date createtime;//创建时间
	private String fullname;//公司全称
	private String merchantno;//商户编号
	private Short merchanttype;//商户类型：1、企业，2、个体工商，3、个人
	private Short trxtype;//交易类型：见交易类型枚举类(加这个字段会造成数据冗余)
	private String frpcode;//支付渠道编号
	private String bankchannelcode;//银行渠道编号
	private java.math.BigDecimal transactionamount;//交易金额
	private Integer transactionnumber;//交易笔数
	private java.math.BigDecimal refundamount;//退款金额
	private Short refundnumber;//退款笔数
	private java.math.BigDecimal income;//收入
	private java.util.Date acountdate;//所统计数据的日期
	private String bankname;//银行名称
	private String bankcodename;//银行渠道名称
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}	
	public Short getVersion() {
		return version;
	}
	public void setVersion(Short version) {
		this.version = version;
	}	
	public java.util.Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(java.util.Date createtime) {
		this.createtime = createtime;
	}	
	public String getFullname() {
		return fullname;
	}
	public void setFullname(String fullname) {
		this.fullname = fullname;
	}	
	public String getMerchantno() {
		return merchantno;
	}
	public void setMerchantno(String merchantno) {
		this.merchantno = merchantno;
	}	
	public Short getMerchanttype() {
		return merchanttype;
	}
	public void setMerchanttype(Short merchanttype) {
		this.merchanttype = merchanttype;
	}	
	public Short getTrxtype() {
		return trxtype;
	}
	public void setTrxtype(Short trxtype) {
		this.trxtype = trxtype;
	}	
	public String getFrpcode() {
		return frpcode;
	}
	public void setFrpcode(String frpcode) {
		this.frpcode = frpcode;
	}	
	public String getBankchannelcode() {
		return bankchannelcode;
	}
	public void setBankchannelcode(String bankchannelcode) {
		this.bankchannelcode = bankchannelcode;
	}	
	public java.math.BigDecimal getTransactionamount() {
		return transactionamount;
	}
	public void setTransactionamount(java.math.BigDecimal transactionamount) {
		this.transactionamount = transactionamount;
	}	
	public Integer getTransactionnumber() {
		return transactionnumber;
	}
	public void setTransactionnumber(Integer transactionnumber) {
		this.transactionnumber = transactionnumber;
	}	
	public java.math.BigDecimal getRefundamount() {
		return refundamount;
	}
	public void setRefundamount(java.math.BigDecimal refundamount) {
		this.refundamount = refundamount;
	}	
	public Short getRefundnumber() {
		return refundnumber;
	}
	public void setRefundnumber(Short refundnumber) {
		this.refundnumber = refundnumber;
	}	
	public java.math.BigDecimal getIncome() {
		return income;
	}
	public void setIncome(java.math.BigDecimal income) {
		this.income = income;
	}	
	public java.util.Date getAcountdate() {
		return acountdate;
	}
	public void setAcountdate(java.util.Date acountdate) {
		this.acountdate = acountdate;
	}	
	public String getBankname() {
		return bankname;
	}
	public void setBankname(String bankname) {
		this.bankname = bankname;
	}	
	public String getBankcodename() {
		return bankcodename;
	}
	public void setBankcodename(String bankcodename) {
		this.bankcodename = bankcodename;
	}	
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
